package com.Shoping.entity;

public class Shopping {
    private Integer sId;//  购物车主键',
    private Integer uId;//  用户主键',
    private Integer sNumber;// 购物车商品数量',
    private Double decimal;// 购物车总金额',

    @Override
    public String toString() {
        return "shopping{" +
                "sId=" + sId +
                ", uId=" + uId +
                ", sNumber=" + sNumber +
                ", decimal=" + decimal +
                '}';
    }

    public Integer getsId() {
        return sId;
    }

    public void setsId(Integer sId) {
        this.sId = sId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getsNumber() {
        return sNumber;
    }

    public void setsNumber(Integer sNumber) {
        this.sNumber = sNumber;
    }

    public Double getDecimal() {
        return decimal;
    }

    public void setDecimal(Double decimal) {
        this.decimal = decimal;
    }

    public Shopping(Integer sId, Integer uId, Integer sNumber, Double decimal) {
        this.sId = sId;
        this.uId = uId;
        this.sNumber = sNumber;
        this.decimal = decimal;
    }

    public Shopping() {
    }
}
